package com.weiaibenpao.demo.chislim.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by wlx on 2018/1/4.
 */

public class SportOverInfoBean implements Serializable{


    /**
     * chinaFinshImage :
     * chinaFinshMark:
     * badge : {"id":3,"type":0,"badgeName":"半马勋章","badgeIconUrl":"http://ofplk6att.bkt.clouddn.com/medal_half.png   ","badgewhiteIconUrl":"http://ofplk6att.bkt.clouddn.com/wm21km.png   ","badgeDistance":21}
     * grade : {"id":14,"gradeNumber":3,"grade":300,"restGrade":300,"gradeName":"东极三星跑者","gradeImage":""}
     * url : malasong/record.html?userId=404&objectId=797&sportType=1
     * marathonList : [{"groupName":"中程跑5km","mContent":"http://ow79arwyc.bkt.clouddn.com/%E5%A5%96%E7%89%8C%E8%AE%BE%E8%AE%A1%E4%B8%AD%E7%A7%8B%E8%8A%82.png   ","marathonTitle":"金秋月圆，嫦娥美容跑粉红登场"},{"groupName":"体育场路10km","mContent":"http://ow79arwyc.bkt.clouddn.com/%E5%A5%96%E7%89%8C%E8%AE%BE%E8%AE%A1%E4%B8%AD%E7%A7%8B%E8%8A%82.png   ","marathonTitle":"环杭州对抗挑战赛"}]
     */

    private String chinaFinshImage;
    private BadgeBean badge;
    private GradeBean grade;
    private String url;
    private List<MarathonListBean> marathonList;
    private String chinaFinshMark;

    public String getChinaFinshMark() {
        return chinaFinshMark;
    }

    public void setChinaFinshMark(String chinaFinshMark) {
        this.chinaFinshMark = chinaFinshMark;
    }

    public String getChinaFinshImage() {
        return chinaFinshImage;
    }

    public void setChinaFinshImage(String chinaFinshImage) {
        this.chinaFinshImage = chinaFinshImage;
    }

    public BadgeBean getBadge() {
        return badge;
    }

    public void setBadge(BadgeBean badge) {
        this.badge = badge;
    }

    public GradeBean getGrade() {
        return grade;
    }

    public void setGrade(GradeBean grade) {
        this.grade = grade;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<MarathonListBean> getMarathonList() {
        return marathonList;
    }

    public void setMarathonList(List<MarathonListBean> marathonList) {
        this.marathonList = marathonList;
    }

    public static class BadgeBean implements Serializable{
        /**
         * id : 3
         * type : 0
         * badgeName : 半马勋章
         * badgeIconUrl : http://ofplk6att.bkt.clouddn.com/medal_half.png
         * badgewhiteIconUrl : http://ofplk6att.bkt.clouddn.com/wm21km.png
         * badgeDistance : 21
         */

        private int id;
        private int type;
        private String badgeName;
        private String badgeIconUrl;
        private String badgewhiteIconUrl;
        private int badgeDistance;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getBadgeName() {
            return badgeName;
        }

        public void setBadgeName(String badgeName) {
            this.badgeName = badgeName;
        }

        public String getBadgeIconUrl() {
            return badgeIconUrl;
        }

        public void setBadgeIconUrl(String badgeIconUrl) {
            this.badgeIconUrl = badgeIconUrl;
        }

        public String getBadgewhiteIconUrl() {
            return badgewhiteIconUrl;
        }

        public void setBadgewhiteIconUrl(String badgewhiteIconUrl) {
            this.badgewhiteIconUrl = badgewhiteIconUrl;
        }

        public int getBadgeDistance() {
            return badgeDistance;
        }

        public void setBadgeDistance(int badgeDistance) {
            this.badgeDistance = badgeDistance;
        }
    }

    public static class GradeBean implements Serializable{
        /**
         * id : 14
         * gradeNumber : 3
         * grade : 300
         * restGrade : 300
         * gradeName : 东极三星跑者
         * gradeImage :
         */

        private int id;
        private int gradeNumber;
        private int grade;
        private int restGrade;
        private String gradeName;
        private String gradeImage;

        @Override
        public String toString() {
            return "GradeBean{" +
                    "id=" + id +
                    ", gradeNumber=" + gradeNumber +
                    ", grade=" + grade +
                    ", restGrade=" + restGrade +
                    ", gradeName='" + gradeName + '\'' +
                    ", gradeImage='" + gradeImage + '\'' +
                    '}';
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGradeNumber() {
            return gradeNumber;
        }

        public void setGradeNumber(int gradeNumber) {
            this.gradeNumber = gradeNumber;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public int getRestGrade() {
            return restGrade;
        }

        public void setRestGrade(int restGrade) {
            this.restGrade = restGrade;
        }

        public String getGradeName() {
            return gradeName;
        }

        public void setGradeName(String gradeName) {
            this.gradeName = gradeName;
        }

        public String getGradeImage() {
            return gradeImage;
        }

        public void setGradeImage(String gradeImage) {
            this.gradeImage = gradeImage;
        }
    }

    public static class MarathonListBean implements Serializable {
        /**
         * groupName : 中程跑5km
         * mContent : http://ow79arwyc.bkt.clouddn.com/%E5%A5%96%E7%89%8C%E8%AE%BE%E8%AE%A1%E4%B8%AD%E7%A7%8B%E8%8A%82.png
         * marathonTitle : 金秋月圆，嫦娥美容跑粉红登场
         */

        private String groupName;
        private String mContent;
        private String marathonTitle;

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public String getMContent() {
            return mContent;
        }

        public void setMContent(String mContent) {
            this.mContent = mContent;
        }

        public String getMarathonTitle() {
            return marathonTitle;
        }

        public void setMarathonTitle(String marathonTitle) {
            this.marathonTitle = marathonTitle;
        }
    }
}
